package com.atguigu.gulimall.product.constant;/**
 * @创建人 qiemengyan
 * @创建时间 2022/12/26
 * @描述
 */

import com.atguigu.gulimall.product.entity.AttrEntity;

/**
 * 功能描述：
 *
 * @ClassName: ProductConstant
 * @Author：TanYinbiao
 * @Date：2022/12/26 23:15
 */

public class ProductConstant {

    public enum AttrEnum {
        ATTR_TYPE_BASE(1, "基本属性"), ATTR_TYPE_SALE(0, "销售属性");
        private int code;
        private String msg;

        AttrEnum(int code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public String getMsg() {
            return msg;
        }

        public int getCode() {
            return code;
        }
    }
}
